<template>
  <!-- 数据展示区域 -->
  <div class="dynamic-wrap flex" >
    <div class="year">2021</div>
    <div class="dynamic-info flex">
      <div class="time">
        <div class="month">21</div>
        <div class="day">3月</div>
      </div>
      <img
        class="cover"
        src="../../../assets/image/add-icon.png"
        alt=""
      >
      <div class="content">
        <div class="text">#海尔新品 海尔新品海尔新品海尔新品海尔新品海尔新品海尔新品 海尔新品 海尔新品海尔</div>
        <el-tooltip
          class="item"
          effect="dark"
          content="方太产品…"
          placement="top"
        >
          <div class="tag-wrap">
            <img
              class="icon"
              src="../../../assets/image/dynamic/net-icon.png"
              alt=""
            >
            方太产品…</div>
        </el-tooltip>

        <div class="flex flex-center">
          <el-tooltip
            class="item"
            effect="dark"
            content="点赞数"
            placement="top"
          >
            <div class="flex flex-center">
              <img
                class="icon"
                src="../../../assets/image/dynamic/like-icon.png"
                alt=""
              >
              <div>0</div>
            </div>
          </el-tooltip>

          <el-tooltip
            class="item"
            effect="dark"
            content="评论数"
            placement="top"
          >
            <div class="flex flex-center">
              <img
                class="icon"
                src="../../../assets/image/dynamic/comments-icon.png"
                alt=""
              >
              <div>0</div>
            </div>
          </el-tooltip>

          <el-tooltip
            class="item"
            effect="dark"
            content="转发数"
            placement="top"
          >
            <div class="flex flex-center">
              <img
                class="icon"
                src="../../../assets/image/dynamic/forwarding-icon.png"
                alt=""
              >
              <div>0</div>
            </div>
          </el-tooltip>

          <el-tooltip
            class="item"
            effect="dark"
            content="收藏数"
            placement="top"
          >
            <div class="flex flex-center">
              <img
                class="icon"
                src="../../../assets/image/dynamic/collection-icon.png"
                alt=""
              >
              <div>0</div>
            </div>
          </el-tooltip>

        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import x from ''
export default {
  props: {
    list:Array
  },
  data() {
    return {}
  },
  methods: {}
}
</script>
<style lang='scss' scoped>
.dynamic-wrap {
  padding-left: 144px;
  box-sizing: border-box;
  .year {
    font-size: 36px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #1b1b1b;
    margin-right: 62px;
    margin-top: 4px;
  }
  .dynamic-info {
    margin-bottom: 50px;
    .time {
      margin-right: 20px;
      .month {
        margin: 6px 0 10px 0;
        font-size: 32px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #1b1b1b;
      }
      .day {
        font-size: 18px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #1b1b1b;
        position: relative;
        padding-bottom: 9px;
      }
      .day::after {
        position: absolute;
        content: '';
        display: block;
        width: 38px;
        height: 2px;
        bottom: 0;
        left: -5px;
        background: #1b1b1b;
      }
    }
    .cover {
      width: 218px;
      height: 123px;
      border-radius: 4px;
    }
    .content {
      margin-left: 23px;
      margin-top: 14px;
      .text {
        font-size: 16px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #1b1b1b;
      }
      .tag-wrap {
        margin-top: 10px;
        margin-bottom: 24px;
        width: 100px;

        height: 25px;
        line-height: 25px;
        background: #efefef;
        border-radius: 14px;
        font-size: 11px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #888888;
        .icon {
          width: 13px;
          height: 13px;
          margin-left: 11px;
        }
      }
      .flex {
        .icon {
          width: 20px;
          height: 17px;
          margin-right: 6px;
        }
        div {
          font-size: 13px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #848484;
          padding-right: 20px;
        }
      }
    }
  }
}
</style>